const apis = {
  user: {
    login: {
      method: 'POST',
      url: '/wx/user/login',
      data: {
        code: 'required',
        type: 'required'
      }
    },
    updateInfo: {
      method: 'POST',
      url: '/wx/user',
      data: {
        encryptedData: 'required',
        iv: 'required'
      }
    },
    info: {
      method: 'GET',
      url: '/wx/user/{id}'
    },
    getQiniuToken: {
      method: 'GET',
      url: '/wx/user/getQiniuToken'
    }
  }
}

export default apis
